package cn.clwxy.gdz.dao;

import java.util.Date;
import java.util.List;

import cn.clwxy.gdz.bo.OrderImformation;
import cn.clwxy.gdz.entity.Order;
import cn.clwxy.gdz.entity.Student;

public interface OrderDao {
	public List<Order> findOrderByDate(Date date);
	public List<Order> findOrderByTeacher(Integer teacherId);
	public List<Order> findOrderByStudent(Integer studentId);
	Integer addOrder(Order order);
	int deleteOrder(Integer orderId);
	int updateOrder(Order order);
	Integer getLastOrderId();
	public OrderImformation findOderByOrderId(Integer OrderId);
	Integer findOrderBySIdTIdInitiator(Integer studentId,Integer teacherId,Integer initiator);
	
	
}
